{% extends 'html/base.html' %}
{% load static %}

{% block title %}
电影推荐_高分电影_一部电影网
{% endblock %}

{% block description %}
 一部电影网是一个致力于免费电影推荐的在线电影网，这里有高分电影推荐，评测，精彩剪辑，视频解说。所有电影都可以在线观看，是一个免费电影网站，可以免费电影在线观看。尊重用户的电影网，不以追随热点，以电影挖掘，用户省心为主的，经典电影平台。
{% endblock %}

{% block keywords %}
电影推荐,经典电影,高分电影,一部电影网
{% endblock %}

<!-- {% block site %}
    主页
{% endblock %} -->

{% block content-head %}
<div style="{% if visit == '简评' %}font-size: 2.25rem; line-height:1.2; {% endif %}padding-bottom:.6rem; border-bottom: 1px solid #eee; margin: 1rem auto;">
    <span style="display: inline; ">
            <a title="主页,一部电影网官网主页" style="color: #333333; text-decoration: none" class="md-header-anchor" href="/">
                <img style="height: 3rem; width: 3rem; " src="{% static 'logo/logo.png' %}" alt="logo,一部电影网logo">
                {% if visit == '主页' %}
                    <h1 style="display: inline; border-bottom: none; font-weight:normal; margin-left: -.4rem; margin-right: .2rem;">一部电影网</h1>
                {% else%}
                    <span style="margin-left: -.4rem; margin-right: .2rem;" >一部电影网</span>
                {% endif %}
            </a>
        <a title="{% if visit == '主页' %}一部电影网主页{% else %}{{ movies.first.name }}简评{% endif %}" href="{% if visit == '主页' %}/{% else %}/eval/{{ movies.first.id }}{% endif %}" style="text-decoration: none; color: #333333;"><span style="font-size: .3rem;font-weight: bold;">{% if visit == "主页" %}{{ visit }}{% else %}<h1 style="display: inline; border-bottom: none;">{{movies.first.name}}{{visit}}</h1>{% endif %}</span></a>
    </span>
    <span style="font-size: .3rem; margin-left: .2rem;">一起迎接有温度的每一天</span>
</div>
{% endblock %}

{% block content %}
<!-- ff3  4183c4 333 555 996 -->
<div style="align-content:flex-end; padding-bottom: .3rem; overflow: hidden; margin-top: 1.5rem;">
    <div style="font-size: 1.7rem; font-weight: bold; ">
        <a style="color:#4183c4;" title="{{ movies.first.name }}-{{ movies.first.name }}在线免费观看-一部电影网" class="md-header-anchor" href="/movie/{{ movies.first.id }}">
            <span>
                今日观影: {{ movies.first.name }}
            </span>
        </a>
</div>
<div style="margin: 0;">
    {% if "iframe" in movies.first.visual_guide %}
    <iframe src="{{ movies.first.visual_guide|slice:':-7' }}" style="height: 34rem; object-fit: cover;" frameborder="0"></iframe>
    {% else %}
    <div style="position: relative;">
    <video title="{{ movies.first.name }}-{{ movies.first.name }}精彩剪辑-一部电影网" class="myVideo" style="display:inline-block; height: 34rem; background-color: black;" controls poster="/upload/{{ movies.first.head_pics }}" referrerpolicy="no-referrer" alt="{{ movies.first.name }}-{{ movies.first.name }}精彩剪辑-一部电影网">
        <source src="/upload/{{ movies.first.visual_guide }}"type="video/mp4">
        <source src="/upload/{{ movies.first.visual_guide }}" type="video/ogg">
    </video>
    <div style="position: absolute; top: 2rem;right: 2rem; background-color: #4183c4; padding: 1rem; border-radius: 1rem; opacity: 0.8; "><a title="{{ movies.first.name }}-{{ movies.first.name }}在线免费观看-一部电影网" style="font-size: 1rem; color:#ff3; text-decoration: none;" href="/movie/{{ movies.first.id }}">观看{{ movies.first.name }}</a></div>
    </div>
    {% endif %}
</div>
<a title="{{ movies.first.name }}-{{ movies.first.name }}在线免费观看-一部电影网" href="/movie/{{ movies.first.id }}" style="text-decoration: none"><blockquote><p><span>{{ movies.first.point|safe }}</span></p></blockquote></a>
    
<p>&nbsp;</p>
<div style="font-size: 1.5rem; margin-bottom: .3rem; "><a title="历史推荐,一部电影网历史推荐" style="text-decoration: none;" href="/list" target="_blank"><span style="color: #555555;"><h3 style="font-size: 1.5rem; display: inline;">历史推荐</h3></span></a><a title="历史推荐,一部电影网历史推荐" href="/list" target="_blank"><span style="float: right; color: #555555;">更多</span></a></div>
{% for movie in movies|slice:"1:5" %}
    <div class="div-inline" style='height: auto;{% if "phone" in dev %}width:100%;{% else %} width:15rem; {% endif %}'>
        <a class="md-header-anchor" title="{{ movie.name }}-{{ movie.name }}在线免费观看-一部电影网" href="/movie/{{ movie.id }}"><img class="div-img" alt="{{ movie.name }}-{{ movie.name }}封面图-一部电影网" alt="{{ movie.name }}-{{ movie.name }}封面图-一部电影网" src="/upload/{{ movie.head_pics }}" style="object-fit: cover; height: 10rem;"></a>
        <br>
        <a class="md-header-anchor" style="text-decoration: none;" title="{{ movie.name }}-{{ movie.name }}在线免费观看-一部电影网" href="/movie/{{ movie.id }}"><span style="color: #4183c4; ">{{movie.name}}</span></a>
    </div>
    <h></h>
{% endfor %}

<div style="display: none;">
<div><a title="最新电影" href="/news">新闻</a></div>
{% for new in news %}
<div><a title="{{new.title}}" href="/n/{{new.id}}">{{ new.title }}</a></div>
{% endfor %}
<div><a title="最新电影" href="/news">更多</a></div>
</div>

{% endblock %}
